package com.training.food.Domain;

import org.springframework.stereotype.Component;

import java.sql.Date;

@Component
public class Release {
    private Date releaseTime;
    private int num;
    private String discripe;

    public Date getReleaseTime() {
        return releaseTime;
    }

    public Release setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
        return this;
    }

    public int getNum() {
        return num;
    }

    public Release setNum(int num) {
        this.num = num;
        return this;
    }

    public String getDiscripe() {
        return discripe;
    }

    public Release setDiscripe(String discripe) {
        this.discripe = discripe;
        return this;
    }

    @Override
    public String toString() {
        return "Release{" +
                "releaseTime=" + releaseTime +
                ", num=" + num +
                ", discripe='" + discripe + '\'' +
                '}';
    }
}
